namespace BusinessWorkOrder {
  export interface SearchForm extends Base.Pagination {
    pageNum: number;
    pageSize: number;
    beforePageNum: number;
    workOrderNo: string;
    depositTime: string[];
    bizIdList: string[];
    channelIdList: string[];
    waybillNumList: string;
    questionTypeList: Array<["PRE_PORT_SCOPE" | "AFTER_PORT_SCOPE", ...string[]]>;
    shipmentLimit: number | undefined;
  }

  export interface WaybillDetails {
    waybillNum: string;
    countryRegionName: string;
    channelName: string;
    remark: string;
    declarationTypeList: Array<{ name: string; code: string }>;
    taxesTypeList: Array<{ name: string; code: string }>;
    bizPreOrderShipmentFileResDtoList: FileListRow[];
    preOrderShipmentBox: WaybillBox[];
    [propsName: string]: any;
  }

  export type FileListRow = {
    id: string;
    filename: string;
    createName: string;
    fileUrl: string;
    fileType: number;
  };
  export type WaybillBox = {
    shipmentId: number;
    shipmentNumber: string;
    shipmentBoxNumber: string;
    fbaNumber: string;
    fbaBoxNumber: string;
    poNumber: string;
    productChineseName: string;
    productEnglishName: string;
    productDeclarePrice: number;
    productDeclareNum: number;
    productDeclarePriceAll: number;
    productMaterial: string;
    productHsCode: string;
    productFunction: string;
    productBrand: string;
    productModen: string;
    productImgUrl: string;
    productSaleUrl: string;
    boxWeight: number;
    boxLength: number;
    boxWidth: number;
    boxHeight: number;
    volumeWeight: number;
    circumference: number;
  };

  export type DetailForm = {
    id: string;
    [propsName: string]: any;
  };

  export type ListRows = {
    id: string;
    workOrderNo: string;
    waybillNum: string;
    itemNumberSum: string;
    lastHandleContent: string;
    lastHandleTime: string;
    questionScope: string;
    questionType: string;
    questionDesc: string;
    createTime: string;
    createName: string;
    [propsName: string]: any;
  };
}
